
public class Transporter {
	
	private String productionFirm;
	private boolean isSafe;
	
	
	void checkIfCarIsSafe(){
		if(productionFirm.equalsIgnoreCase("Pegout"))
			isSafe=false;
	}
	
	
	public String getProductionFirm() {
		return productionFirm;
	}
	public void setProductionFirm(String productionFirm) {
		if(productionFirm!=null)
		this.productionFirm = productionFirm;
	}
	public boolean isSafe() {
		return isSafe;
	}
	public void setSafe(boolean isSafe) {
		this.isSafe = isSafe;
	}
	
	

}
